Database Performance at Scale by Felipe Cardeneti Mendes & Piotr Sarna & Pavel Emelyanov & Cynthia Dunlop
Author:Felipe Cardeneti Mendes & Piotr Sarna & Pavel Emelyanov & Cynthia Dunlop
Language: eng
Format: epub
ISBN: 9781484297117
Publisher: Apress
Examples
Letâs take a look at a few examples of user-defined functions. The function serving as the example operates on floating point numbers; given two parameters, it returns the sum of them, inverted. Given 5 and 7, it should return 1/5+1/7, which is approximately 0.34285714285.
Hereâs how it could be defined in Apache Cassandra, which allows user-defined function definitions to be provided in Java, its native language, as well as in other languages: CREATE OR REPLACE FUNCTION add_inverse(val1 double, val2 double)
RETURNS NULL ON NULL INPUT
RETURNS double LANGUAGE java
AS '
return (val1 == 0 || val2 == 0)
? Double.NaN
: (1/val1 + 1/val2);
';
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7738)
Filmora Efficient Editing by Alexander Zacharias(5441)
The Infinite Retina by Robert Scoble Irena Cronin(4887)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3902)
Learn Wireshark - Fundamentals of Wireshark. by Lisa Bock(3778)
Edit Like a Pro with iMovie by Regit(3234)
Linux Administration Best Practices by Scott Alan Miller(2840)
Linux Command Line and Shell Scripting Techniques by Vedran Dakic & Jasmin Redzepagic(2816)
MCSA Windows Server 2016 Study Guide: Exam 70-740 by William Panek(2505)
Docker on Windows by Stoneman Elton(2304)
Kali Linux - An Ethical Hacker's Cookbook: End-to-end penetration testing solutions by Sharma Himanshu(2293)
Mastering PowerShell Scripting - Fourth Edition by Chris Dent(2212)
Hands-On AWS Penetration Testing with Kali Linux by Karl Gilbert(2092)
Creative Projects for Rust Programmers by Carlo Milanesi(2038)
Hands-On Linux for Architects by Denis Salamanca(2026)
Computers For Seniors For Dummies by Nancy C. Muir(1981)
Programming in C (4th Edition) (Developer's Library) by Stephen G. Kochan(1971)
The Old New Thing by Raymond Chen(1925)
Linux Kernel Debugging by Kaiwan N Billimoria(1750)
